package cn.iocoder.boot.dto;

import cn.iocoder.boot.entity.ReplaceRelationManagement;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "替代关系库管理的数据传输对象")
public class ReplaceRelationManagementDTO extends PageParam {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "制造商型号")
    private String model;

    @Schema(description = "产品类型")
    private String type;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "规格")
    private String specifications;

    @Schema(description = "封装")
    private String encapsulation;

    @Schema(description = "父级ID")
    private Long parentId;
    private List<ReplaceRelationManagement> children;

    @Schema(description = "排序")
    /**
     * @ignore
     */
    private Long sort;


    @Schema(description = "提交人")
    private String creator;

    /**
     * @ignore
     */
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
